From 970ce2580bd1403a8c3ac5ed8cf7055ca1e6b20f Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Mon, 2 Apr 2007 16:26:23 +0100 Subject: [PATCH] xen: Remove two incorrect assertions. Signed-off-by: Keir Fraser --- xen/common/domain.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/xen/common/domain.c b/xen/common/domain.c index b1f11b75d9..b31ad9ce47 100644 --- a/xen/common/domain.c +++ b/xen/common/domain.c @@ -425,7 +425,6 @@ void vcpu_pause_nosync(struct vcpu *v) void vcpu_unpause(struct vcpu *v) { - ASSERT(v != current); if ( atomic_dec_and_test(&v->pause_count) ) vcpu_wake(v); } @@ -446,8 +445,6 @@ void domain_unpause(struct domain *d) { struct vcpu *v; - ASSERT(d != current->domain); - if ( atomic_dec_and_test(&d->pause_count) ) for_each_vcpu( d, v ) vcpu_wake(v); -- 2.30.2